<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Eigen: Eigen::SPQR&lt; MatrixType_ &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="eigendoxy.css" rel="stylesheet" type="text/css">
<!--  -->
<script type="text/javascript" src="eigen_navtree_hacks.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Eigen_Silly_Professor_64x64.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname"><a href="http://eigen.tuxfamily.org">Eigen</a>
   &#160;<span id="projectnumber">3.4.90 (git rev 67eeba6e720c5745abc77ae6c92ce0a44aa7b7ae)</span>
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.svg"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classEigen_1_1SPQR.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="classEigen_1_1SPQR-members.html">List of all members</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Eigen::SPQR&lt; MatrixType_ &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__Sparse__chapter.html">Sparse linear algebra</a> &raquo; <a class="el" href="group__Sparse__Reference.html">Reference</a> &raquo; <a class="el" href="group__Support__modules.html">Support modules</a> &raquo; <a class="el" href="group__SPQRSupport__Module.html">SuiteSparseQR module</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename MatrixType_&gt;<br />
class Eigen::SPQR&lt; MatrixType_ &gt;</h3>

<p><a class="el" href="structEigen_1_1Sparse.html">Sparse</a> QR factorization based on SuiteSparseQR library. </p>
<p>This class is used to perform a multithreaded and multifrontal rank-revealing QR decomposition of sparse matrices. The result is then used to solve linear leasts_square systems. Clearly, a QR factorization is returned such that A*P = Q*R where :</p>
<p>P is the column permutation. Use <a class="el" href="classEigen_1_1SPQR.html#af7a3ad7b3fa2814354159acea9e76d53" title="Get the permutation that was applied to columns of A.">colsPermutation()</a> to get it.</p>
<p>Q is the orthogonal matrix represented as Householder reflectors. Use <a class="el" href="classEigen_1_1SPQR.html#af16584dd4a0bcd2e27f97d176c9ae517" title="Get an expression of the matrix Q.">matrixQ()</a> to get an expression and <a class="el" href="classEigen_1_1SPQR.html#af16584dd4a0bcd2e27f97d176c9ae517" title="Get an expression of the matrix Q.">matrixQ()</a>.transpose() to get the transpose. You can then apply it to a vector.</p>
<p>R is the sparse triangular factor. Use matrixQR() to get it as <a class="el" href="classEigen_1_1SparseMatrix.html" title="A versatible sparse matrix representation.">SparseMatrix</a>. NOTE : The Index type of R is always SuiteSparse_long. You can get it with SPQR::Index</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">MatrixType_</td><td>The type of the sparse matrix A, must be a column-major SparseMatrix&lt;&gt;</td></tr>
  </table>
  </dd>
</dl>
<p>This class follows the <a class="el" href="group__TopicSparseSystems.html#TutorialSparseSolverConcept">sparse solver concept </a>. </p>
</div><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Eigen::SPQR&lt; MatrixType_ &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classEigen_1_1SPQR__inherit__graph.png" border="0" usemap="#aEigen_1_1SPQR_3_01MatrixType___01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="aEigen_1_1SPQR_3_01MatrixType___01_4_inherit__map" id="aEigen_1_1SPQR_3_01MatrixType___01_4_inherit__map">
<area shape="rect" title="Sparse QR factorization based on SuiteSparseQR library." alt="" coords="5,233,201,604"/>
<area shape="rect" href="classEigen_1_1SparseSolverBase.html" title=" " alt="" coords="14,5,193,185"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4be65f22eebe8089910ab02205146ec6"><td class="memItemLeft" align="right" valign="top">cholmod_common *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SPQR.html#a4be65f22eebe8089910ab02205146ec6">cholmodCommon</a> () const</td></tr>
<tr class="separator:a4be65f22eebe8089910ab02205146ec6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab64bb8ae0a003d572b1002779425d596"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceEigen.html#a62e77e0933482dafde8fe197d9a2cfde">Index</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SPQR.html#ab64bb8ae0a003d572b1002779425d596">cols</a> () const</td></tr>
<tr class="separator:ab64bb8ae0a003d572b1002779425d596"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7a3ad7b3fa2814354159acea9e76d53"><td class="memItemLeft" align="right" valign="top"><a id="af7a3ad7b3fa2814354159acea9e76d53"></a>
<a class="el" href="classEigen_1_1Map.html">PermutationType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SPQR.html#af7a3ad7b3fa2814354159acea9e76d53">colsPermutation</a> () const</td></tr>
<tr class="memdesc:af7a3ad7b3fa2814354159acea9e76d53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the permutation that was applied to columns of A. <br /></td></tr>
<tr class="separator:af7a3ad7b3fa2814354159acea9e76d53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d11571b3eba295bd74512147fc52ba3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__enums.html#ga85fad7b87587764e5cf6b513a9e0ee5e">ComputationInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SPQR.html#a5d11571b3eba295bd74512147fc52ba3">info</a> () const</td></tr>
<tr class="memdesc:a5d11571b3eba295bd74512147fc52ba3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports whether previous computation was successful.  <a href="classEigen_1_1SPQR.html#a5d11571b3eba295bd74512147fc52ba3">More...</a><br /></td></tr>
<tr class="separator:a5d11571b3eba295bd74512147fc52ba3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af16584dd4a0bcd2e27f97d176c9ae517"><td class="memItemLeft" align="right" valign="top"><a id="af16584dd4a0bcd2e27f97d176c9ae517"></a>
SPQRMatrixQReturnType&lt; <a class="el" href="classEigen_1_1SPQR.html">SPQR</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SPQR.html#af16584dd4a0bcd2e27f97d176c9ae517">matrixQ</a> () const</td></tr>
<tr class="memdesc:af16584dd4a0bcd2e27f97d176c9ae517"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an expression of the matrix Q. <br /></td></tr>
<tr class="separator:af16584dd4a0bcd2e27f97d176c9ae517"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7939887c48eeff55571f9810ebf86738"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classEigen_1_1SparseMatrix.html">MatrixType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SPQR.html#a7939887c48eeff55571f9810ebf86738">matrixR</a> () const</td></tr>
<tr class="separator:a7939887c48eeff55571f9810ebf86738"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a360b7ee252230b8983d12cb782d96936"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceEigen.html#a62e77e0933482dafde8fe197d9a2cfde">Index</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SPQR.html#a360b7ee252230b8983d12cb782d96936">rank</a> () const</td></tr>
<tr class="separator:a360b7ee252230b8983d12cb782d96936"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64cda2ae789b922f8fd26681b651b1a3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceEigen.html#a62e77e0933482dafde8fe197d9a2cfde">Index</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SPQR.html#a64cda2ae789b922f8fd26681b651b1a3">rows</a> () const</td></tr>
<tr class="separator:a64cda2ae789b922f8fd26681b651b1a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a181fd76d24fc9c246c3ac7ad2c054b68"><td class="memItemLeft" align="right" valign="top"><a id="a181fd76d24fc9c246c3ac7ad2c054b68"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SPQR.html#a181fd76d24fc9c246c3ac7ad2c054b68">setPivotThreshold</a> (const RealScalar &amp;tol)</td></tr>
<tr class="memdesc:a181fd76d24fc9c246c3ac7ad2c054b68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the tolerance tol to treat columns with 2-norm &lt; =tol as zero. <br /></td></tr>
<tr class="separator:a181fd76d24fc9c246c3ac7ad2c054b68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afab6d54d18da2ab683618846ec832472"><td class="memItemLeft" align="right" valign="top"><a id="afab6d54d18da2ab683618846ec832472"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SPQR.html#afab6d54d18da2ab683618846ec832472">setSPQROrdering</a> (int ord)</td></tr>
<tr class="memdesc:afab6d54d18da2ab683618846ec832472"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the fill-reducing ordering method to be used. <br /></td></tr>
<tr class="separator:afab6d54d18da2ab683618846ec832472"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classEigen_1_1SparseSolverBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classEigen_1_1SparseSolverBase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classEigen_1_1SparseSolverBase.html">Eigen::SparseSolverBase&lt; SPQR&lt; MatrixType_ &gt; &gt;</a></td></tr>
<tr class="memitem:a4a66e9498b06e3ec4ec36f06b26d4e8f inherit pub_methods_classEigen_1_1SparseSolverBase"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classEigen_1_1Solve.html">Solve</a>&lt; <a class="el" href="classEigen_1_1SPQR.html">SPQR</a>&lt; MatrixType_ &gt;, Rhs &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SparseSolverBase.html#a4a66e9498b06e3ec4ec36f06b26d4e8f">solve</a> (const <a class="el" href="classEigen_1_1MatrixBase.html">MatrixBase</a>&lt; Rhs &gt; &amp;b) const</td></tr>
<tr class="separator:a4a66e9498b06e3ec4ec36f06b26d4e8f inherit pub_methods_classEigen_1_1SparseSolverBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a8d97173b6e2630f484589b3471cfc7 inherit pub_methods_classEigen_1_1SparseSolverBase"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classEigen_1_1Solve.html">Solve</a>&lt; <a class="el" href="classEigen_1_1SPQR.html">SPQR</a>&lt; MatrixType_ &gt;, Rhs &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SparseSolverBase.html#a3a8d97173b6e2630f484589b3471cfc7">solve</a> (const <a class="el" href="classEigen_1_1SparseMatrixBase.html">SparseMatrixBase</a>&lt; Rhs &gt; &amp;b) const</td></tr>
<tr class="separator:a3a8d97173b6e2630f484589b3471cfc7 inherit pub_methods_classEigen_1_1SparseSolverBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacd99fa17db475e74d3834767f392f33 inherit pub_methods_classEigen_1_1SparseSolverBase"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1SparseSolverBase.html#aacd99fa17db475e74d3834767f392f33">SparseSolverBase</a> ()</td></tr>
<tr class="separator:aacd99fa17db475e74d3834767f392f33 inherit pub_methods_classEigen_1_1SparseSolverBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4be65f22eebe8089910ab02205146ec6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4be65f22eebe8089910ab02205146ec6">&#9670;&nbsp;</a></span>cholmodCommon()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename MatrixType_ &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cholmod_common* <a class="el" href="classEigen_1_1SPQR.html">Eigen::SPQR</a>&lt; MatrixType_ &gt;::cholmodCommon </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>a pointer to the <a class="el" href="classEigen_1_1SPQR.html" title="Sparse QR factorization based on SuiteSparseQR library.">SPQR</a> workspace </dd></dl>

</div>
</div>
<a id="ab64bb8ae0a003d572b1002779425d596"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab64bb8ae0a003d572b1002779425d596">&#9670;&nbsp;</a></span>cols()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename MatrixType_ &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceEigen.html#a62e77e0933482dafde8fe197d9a2cfde">Index</a> <a class="el" href="classEigen_1_1SPQR.html">Eigen::SPQR</a>&lt; MatrixType_ &gt;::cols </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the number of columns of the input matrix. </p>

</div>
</div>
<a id="a5d11571b3eba295bd74512147fc52ba3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d11571b3eba295bd74512147fc52ba3">&#9670;&nbsp;</a></span>info()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename MatrixType_ &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__enums.html#ga85fad7b87587764e5cf6b513a9e0ee5e">ComputationInfo</a> <a class="el" href="classEigen_1_1SPQR.html">Eigen::SPQR</a>&lt; MatrixType_ &gt;::info </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reports whether previous computation was successful. </p>
<dl class="section return"><dt>Returns</dt><dd><code>Success</code> if computation was successful, <code>NumericalIssue</code> if the sparse QR can not be computed </dd></dl>

</div>
</div>
<a id="a7939887c48eeff55571f9810ebf86738"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7939887c48eeff55571f9810ebf86738">&#9670;&nbsp;</a></span>matrixR()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename MatrixType_ &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classEigen_1_1SparseMatrix.html">MatrixType</a> <a class="el" href="classEigen_1_1SPQR.html">Eigen::SPQR</a>&lt; MatrixType_ &gt;::matrixR </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the sparse triangular factor R. It is a sparse matrix </dd></dl>

</div>
</div>
<a id="a360b7ee252230b8983d12cb782d96936"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a360b7ee252230b8983d12cb782d96936">&#9670;&nbsp;</a></span>rank()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename MatrixType_ &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceEigen.html#a62e77e0933482dafde8fe197d9a2cfde">Index</a> <a class="el" href="classEigen_1_1SPQR.html">Eigen::SPQR</a>&lt; MatrixType_ &gt;::rank </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gets the rank of the matrix. It should be equal to matrixQR().cols if the matrix is full-rank </p>

</div>
</div>
<a id="a64cda2ae789b922f8fd26681b651b1a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64cda2ae789b922f8fd26681b651b1a3">&#9670;&nbsp;</a></span>rows()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename MatrixType_ &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceEigen.html#a62e77e0933482dafde8fe197d9a2cfde">Index</a> <a class="el" href="classEigen_1_1SPQR.html">Eigen::SPQR</a>&lt; MatrixType_ &gt;::rows </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the number of rows of the input matrix and the Q matrix </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SuiteSparseQRSupport_8h_source.html">SuiteSparseQRSupport.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceEigen.html">Eigen</a></li><li class="navelem"><a class="el" href="classEigen_1_1SPQR.html">SPQR</a></li>
    <li class="footer">Generated on Thu Apr 21 2022 13:07:56 for Eigen by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
